<form id="edit-form" class="" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-12">{:__('用戶組')}:</label>
        <div class="col-xs-12 col-sm-12">
            {$groupList}
            
        </div>
        <div style="clear: both;"></div>
    </div>
    <div class="row">
        <div class="col-xs-6">
            <div class="form-group">
                <label for="c-username" class="control-label col-xs-12 col-sm-12">{:__('登錄賬號')}:</label>
                <div class="col-xs-12 col-sm-12">
                    <input id="c-username" data-rule="required" class="form-control" name="row[username]" type="text" value="">
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>
        <div class="col-xs-6">
            <div class="form-group">
                <label for="c-nickname" class="control-label col-xs-12 col-sm-12">{:__('名稱')}:</label>
                <div class="col-xs-12 col-sm-12">
                    <input id="c-nickname" data-rule="required" class="form-control" name="row[nickname]" type="text" value="">
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-6">
             <div class="form-group">
                <label for="c-email" class="control-label col-xs-12 col-sm-12">{:__('Email')}:</label>
                <div class="col-xs-12 col-sm-12">
                    <input id="c-email" data-rule="email" class="form-control" name="row[email]" type="text" value="">
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>
        <div class="col-xs-6">
            <div class="form-group">
                <label for="c-mobile" class="control-label col-xs-12 col-sm-12">{:__('Mobile')}:</label>
                <div class="col-xs-12 col-sm-12">
                    <input id="c-mobile" data-rule="mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')], 'normal')}
        </div>
    </div>
    <div class="form-group layer-footer">
        <div class="col-xs-12 col-sm-12" style="text-align: center;">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>